package com.tyl.arrray;

import java.util.Scanner;

public class tyl11 {
        public static void main(String[] args) {
            Scanner scanner = new Scanner(System.in);

            int[] arr=new int[5];
            for (int i = 0; i < 5; i++) {//fori enter
                arr[i]= scanner.nextInt();
            }
            for (int i = 0; i < 5; i++) {
                for (int j = 0; j <5-i-1; j++) {
                    if (arr[j] > arr[j+1]) {
                        int temp = arr[j];
                        arr[j] = arr[j+1];
                        arr[j+1]=temp;
                    }
                }

            }
            for (int i = 0; i < 5; i++) {
                System.out.println(arr[i]);
            }
        }

}
